<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>

<script>
    // var str = "Abcdes";

    // var re = new RegExp("e", "i")

    // var re = /a/i;

    // console.log(re.test(str))

    // console.log(window.navigator.userAgent)

    // var str = "sds ds566a44sdv5  5544ssss8s9rereee  7884 45555ss"

    // var re = /\d+/g

    // console.log(str.match(re))

    // var re = /我们|你们|他们/g;
    // var str = "你们666是你们我们777是我们他们4xdsg是他sdfs们你们和他们ddd都在看到我们吃瓜子剥花生你们要大奔他们要缘分我们要掌声它们想当人我们想当神你们莫当真你们在挖坑...";

    // console.log(str.replace(re, "***"))

    // [^a]

    // var str = "qq:2245754，你的qq是：56451145"

    // var re = /[1-9]\d{4,10}/g;

    // console.log(str.match(re))



</script>
</html>